home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / topfigures.swf / scripts / Fmd5.as
Text File  |  2011-09-19  |  15KB  |  339 lines

  1. var ┬º\x01┬º = 554;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 554)
  5.    {
  6.       set("\x01",eval("\x01") - 24);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 619)
  10.    {
  11.       set("\x01",eval("\x01") - 496);
  12.    }
  13.    else if(eval("\x01") == 189)
  14.    {
  15.       set("\x01",eval("\x01") + 54);
  16.       ┬º┬ºpush("\x0f");
  17.    }
  18.    else if(eval("\x01") == 475)
  19.    {
  20.       set("\x01",eval("\x01") - 354);
  21.    }
  22.    else if(eval("\x01") == 530)
  23.    {
  24.       set("\x01",eval("\x01") - 512);
  25.       if(┬º┬ºpop())
  26.       {
  27.          set("\x01",eval("\x01") + 362);
  28.       }
  29.    }
  30.    else
  31.    {
  32.       if(eval("\x01") == 480)
  33.       {
  34.          set("\x01",eval("\x01") - 194);
  35.          ┬º┬ºpush(┬º┬ºpop() >>> ┬º┬ºpop());
  36.          break;
  37.       }
  38.       if(eval("\x01") == 438)
  39.       {
  40.          set("\x01",eval("\x01") + 284);
  41.       }
  42.       else
  43.       {
  44.          if(eval("\x01") == 18)
  45.          {
  46.             set("\x01",eval("\x01") + 362);
  47.             stop();
  48.             break;
  49.          }
  50.          if(eval("\x01") == 477)
  51.          {
  52.             set("\x01",eval("\x01") - 39);
  53.             if(┬º┬ºpop())
  54.             {
  55.                set("\x01",eval("\x01") + 284);
  56.             }
  57.          }
  58.          else
  59.          {
  60.             if(eval("\x01") == 722)
  61.             {
  62.                set("\x01",eval("\x01") - 656);
  63.                Fmd5Class.prototype = new MovieClip();
  64.                Fmd5Class.prototype.rol = function(a, n)
  65.                {
  66.                   return a << n | a >>> 32 - n;
  67.                };
  68.                Fmd5Class.prototype.FF = function(a, b, c, d, x, s, ac)
  69.                {
  70.                   return this.rol(a + (b & c | (~b) & d) + x + ac,s) + b;
  71.                };
  72.                Fmd5Class.prototype.GG = function(a, b, c, d, x, s, ac)
  73.                {
  74.                   return this.rol(a + (b & d | c & (~d)) + x + ac,s) + b;
  75.                };
  76.                Fmd5Class.prototype.HH = function(a, b, c, d, x, s, ac)
  77.                {
  78.                   return this.rol(a + (b ^ c ^ d) + x + ac,s) + b;
  79.                };
  80.                Fmd5Class.prototype.II = function(a, b, c, d, x, s, ac)
  81.                {
  82.                   return this.rol(a + (c ^ (b | ~d)) + x + ac,s) + b;
  83.                };
  84.                Fmd5Class.prototype.transformMD5 = function(buf, offset)
  85.                {
  86.                   var _loc6_ = undefined;
  87.                   var _loc5_ = undefined;
  88.                   var _loc4_ = undefined;
  89.                   var _loc3_ = undefined;
  90.                   var _loc2_ = this.transformBuffer;
  91.                   _loc6_ = this.state[0];
  92.                   _loc5_ = this.state[1];
  93.                   _loc4_ = this.state[2];
  94.                   _loc3_ = this.state[3];
  95.                   i = 0;
  96.                   while(i < 16)
  97.                   {
  98.                      _loc2_[i] = buf[i * 4 + offset] & 255;
  99.                      j = 1;
  100.                      while(j < 4)
  101.                      {
  102.                         _loc2_[i] |= (buf[i * 4 + j + offset] & 255) << j * 8;
  103.                         j++;
  104.                      }
  105.                      i++;
  106.                   }
  107.                   _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],7,3614090360);
  108.                   _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[1],12,3905402710);
  109.                   _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],17,606105819);
  110.                   _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[3],22,3250441966);
  111.                   _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],7,4118548399);
  112.                   _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[5],12,1200080426);
  113.                   _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],17,2821735955);
  114.                   _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[7],22,4249261313);
  115.                   _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],7,1770035416);
  116.                   _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[9],12,2336552879);
  117.                   _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],17,4294925233);
  118.                   _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[11],22,2304563134);
  119.                   _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],7,1804603682);
  120.                   _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[13],12,4254626195);
  121.                   _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],17,2792965006);
  122.                   _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[15],22,1236535329);
  123.                   _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],5,4129170786);
  124.                   _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[6],9,3225465664);
  125.                   _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],14,643717713);
  126.                   _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[0],20,3921069994);
  127.                   _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],5,3593408605);
  128.                   _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[10],9,38016083);
  129.                   _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],14,3634488961);
  130.                   _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[4],20,3889429448);
  131.                   _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],5,568446438);
  132.                   _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[14],9,3275163606);
  133.                   _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],14,4107603335);
  134.                   _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[8],20,1163531501);
  135.                   _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],5,2850285829);
  136.                   _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[2],9,4243563512);
  137.                   _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],14,1735328473);
  138.                   _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[12],20,2368359562);
  139.                   _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],4,4294588738);
  140.                   _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[8],11,2272392833);
  141.                   _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],16,1839030562);
  142.                   _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[14],23,4259657740);
  143.                   _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],4,2763975236);
  144.                   _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[4],11,1272893353);
  145.                   _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],16,4139469664);
  146.                   _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[10],23,3200236656);
  147.                   _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],4,681279174);
  148.                   _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[0],11,3936430074);
  149.                   _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],16,3572445317);
  150.                   _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[6],23,76029189);
  151.                   _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],4,3654602809);
  152.                   _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[12],11,3873151461);
  153.                   _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],16,530742520);
  154.                   _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[2],23,3299628645);
  155.                   _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],6,4096336452);
  156.                   _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[7],10,1126891415);
  157.                   _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],15,2878612391);
  158.                   _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[5],21,4237533241);
  159.                   _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],6,1700485571);
  160.                   _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[3],10,2399980690);
  161.                   _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],15,4293915773);
  162.                   _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[1],21,2240044497);
  163.                   _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],6,1873313359);
  164.                   _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[15],10,4264355552);
  165.                   _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],15,2734768916);
  166.                   _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[13],21,1309151649);
  167.                   _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],6,4149444226);
  168.                   _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[11],10,3174756917);
  169.                   _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],15,718787259);
  170.                   _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[9],21,3951481745);
  171.                   this.state[0] += _loc6_;
  172.                   this.state[1] += _loc5_;
  173.                   this.state[2] += _loc4_;
  174.                   this.state[3] += _loc3_;
  175.                };
  176.                Fmd5Class.prototype.MD5Init = function()
  177.                {
  178.                   this.count0 = this.count1 = 0;
  179.                   this.state[0] = 1732584193;
  180.                   this.state[1] = 4023233417;
  181.                   this.state[2] = 2562383102;
  182.                   this.state[3] = 271733878;
  183.                   i = 0;
  184.                   while(i < this.digestBits.length)
  185.                   {
  186.                      this.digestBits[i] = 0;
  187.                      i++;
  188.                   }
  189.                };
  190.                Fmd5Class.prototype.MD5Update = function(b)
  191.                {
  192.                   var _loc2_ = this.count0 >>> 3 & 63;
  193.                   if(4294967288 <= this.count0)
  194.                   {
  195.                      this.count1 = this.count1 + 1;
  196.                      this.count0 -= 4294967296;
  197.                   }
  198.                   this.count0 += 8;
  199.                   this.buffer[_loc2_] = b & 255;
  200.                   trace(_loc2_);
  201.                   if(_loc2_ >= 63)
  202.                   {
  203.                      this.transformMD5(this.buffer,0);
  204.                   }
  205.                };
  206.                Fmd5Class.prototype.MD5Final = function()
  207.                {
  208.                   var _loc4_ = new Array(8);
  209.                   var _loc2_ = undefined;
  210.                   var _loc3_ = undefined;
  211.                   _loc2_ = 0;
  212.                   while(_loc2_ < 4)
  213.                   {
  214.                      _loc4_[_loc2_] = this.count0 >>> _loc2_ * 8 & 255;
  215.                      _loc4_[_loc2_ + 4] = this.count1 >>> _loc2_ * 8 & 255;
  216.                      _loc2_ = _loc2_ + 1;
  217.                   }
  218.                   var _loc6_ = this.count0 >>> 3 & 63;
  219.                   var _loc5_ = _loc6_ >= 56 ? 120 - _loc6_ : 56 - _loc6_;
  220.                   this.MD5Update(128);
  221.                   _loc2_ = 1;
  222.                   while(_loc2_ < _loc5_)
  223.                   {
  224.                      this.MD5Update(0);
  225.                      _loc2_ = _loc2_ + 1;
  226.                   }
  227.                   _loc2_ = 0;
  228.                   while(_loc2_ < 8)
  229.                   {
  230.                      this.MD5Update(_loc4_[_loc2_]);
  231.                      _loc2_ = _loc2_ + 1;
  232.                   }
  233.                   _loc2_ = 0;
  234.                   while(_loc2_ < 4)
  235.                   {
  236.                      _loc3_ = 0;
  237.                      while(_loc3_ < 4)
  238.                      {
  239.                         this.digestBits[_loc2_ * 4 + _loc3_] = this.state[_loc2_] >>> _loc3_ * 8 & 255;
  240.                         _loc3_ = _loc3_ + 1;
  241.                      }
  242.                      _loc2_ = _loc2_ + 1;
  243.                   }
  244.                };
  245.                Fmd5Class.prototype.byteToStr = function(bt)
  246.                {
  247.                   var _loc1_ = "0123456789abcdef";
  248.                   var _loc2_ = _loc1_.charAt(bt >> 4) + _loc1_.charAt(bt & 15);
  249.                   return _loc2_;
  250.                };
  251.                Fmd5Class.prototype.md5 = function(m)
  252.                {
  253.                   var _loc4_ = "";
  254.                   this.MD5Init();
  255.                   var _loc2_ = 0;
  256.                   while(_loc2_ < m.length)
  257.                   {
  258.                      this.MD5Update(m.charCodeAt(_loc2_));
  259.                      _loc2_ = _loc2_ + 1;
  260.                   }
  261.                   this.MD5Final();
  262.                   _loc2_ = 0;
  263.                   while(_loc2_ < 16)
  264.                   {
  265.                      _loc4_ += this.byteToStr(this.digestBits[_loc2_]);
  266.                      _loc2_ = _loc2_ + 1;
  267.                   }
  268.                   return _loc4_;
  269.                };
  270.                Fmd5Class.prototype.verifytext = function(d, m)
  271.                {
  272.                   return this.md5(m) == d;
  273.                };
  274.                Fmd5Class.prototype.makeSig = function(input)
  275.                {
  276.                   return this.md5(input);
  277.                };
  278.                Object.registerClass("Fmd5",Fmd5Class);
  279.                break;
  280.             }
  281.             if(eval("\x01") == 123)
  282.             {
  283.                set("\x01",eval("\x01") + 253);
  284.                ┬º┬ºpush(true);
  285.             }
  286.             else if(eval("\x01") == 376)
  287.             {
  288.                set("\x01",eval("\x01") + 104);
  289.                if(┬º┬ºpop())
  290.                {
  291.                   set("\x01",eval("\x01") - 194);
  292.                }
  293.             }
  294.             else if(eval("\x01") == 380)
  295.             {
  296.                set("\x01",eval("\x01") - 257);
  297.             }
  298.             else if(eval("\x01") == 286)
  299.             {
  300.                set("\x01",eval("\x01") - 165);
  301.             }
  302.             else if(eval("\x01") == 694)
  303.             {
  304.                set("\x01",eval("\x01") - 217);
  305.                ┬º┬ºpush(!┬º┬ºpop());
  306.             }
  307.             else
  308.             {
  309.                if(eval("\x01") == 66)
  310.                {
  311.                   set("\x01",eval("\x01") - 66);
  312.                   break;
  313.                }
  314.                if(eval("\x01") == 121)
  315.                {
  316.                   set("\x01",eval("\x01") + 477);
  317.                   ┬º┬ºpush("\x0f");
  318.                   ┬º┬ºpush(1);
  319.                }
  320.                else if(eval("\x01") == 243)
  321.                {
  322.                   set("\x01",eval("\x01") + 451);
  323.                   ┬º┬ºpush(eval(┬º┬ºpop()));
  324.                }
  325.                else
  326.                {
  327.                   if(eval("\x01") != 598)
  328.                   {
  329.                      break;
  330.                   }
  331.                   set("\x01",eval("\x01") - 409);
  332.                   var ┬º┬ºpop() = ┬º┬ºpop();
  333.                }
  334.             }
  335.          }
  336.       }
  337.    }
  338. }
  339.